package com.xsz.mapper;

import com.xsz.entity.Permission;

import java.util.List;

public interface PermissionMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Permission record);

    int insertSelective(Permission record);

    Permission selectByPrimaryKey(Long id);
    List<Permission> selectPermissionsByRoleId(Long roleId);
    int updateByPrimaryKeySelective(Permission record);

    int updateByPrimaryKey(Permission record);
}